package com.situ.water_BE.service.impl;


import com.baomidou.mybatisplus.core.conditions.query.QueryWrapper;
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import com.situ.water_BE.mapper.BeOrderliteMapper;
import com.situ.water_BE.pojo.BeOrderlite;
import com.situ.water_BE.service.BeOrderliteService;
import com.situ.water_user.util.LiteAndEmp;
import com.situ.water_user.util.LiteTJ;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

/**
 * <p>
 *  服务实现类
 * </p>
 *
 * @author Angel
 * @since 2020-12-01
 */
@Service
public class BeOrderliteServiceImpl extends ServiceImpl<BeOrderliteMapper, BeOrderlite> implements BeOrderliteService {
    @Autowired
    BeOrderliteMapper beOrderliteMapper;

    @Override
    public void addLite(BeOrderlite lite) {
        beOrderliteMapper.addLite(lite);

    }

    @Override
    public List<BeOrderlite> queryPage(QueryWrapper wrapper) {
        return beOrderliteMapper.selectList(wrapper);
    }

    @Override
    public List<LiteAndEmp> queryPageLite(LiteTJ tj) {
        return beOrderliteMapper.queryPageLite(tj);
    }
}
